<script>
import { ref } from 'vue'
import {Notify} from "vant"
export default{
	data(){
		return{
			user:[]
		}
	},
	methods:{
		onClick(){
			Notify({ type: 'primary', message: '通知内容' });
		}
	},
	mounted(){
	}
}
</script>
<template>
  <div>
    <div class="aaa" @click="onClick">111</div>
      <van-tabs v-model:active="active" swipeable>
        <van-tab v-for="index in 20" :title="'选项 ' + index">
          <div class="text">内容 {{ index }}</div>
        </van-tab>
      </van-tabs>
  </div>
</template>
  
<style scoped>
.text{
  width: 80%;
  margin: 10%;
  
}
</style>
